package com.handinglian.ai.system.service;

import com.handinglian.ai.system.entity.RolePermissionRelation;

import java.util.List;

public interface RolePermissionRelationService {
    int createBatch(List<RolePermissionRelation> list);

    int deleteByRoleId(Integer roleId);

    List<Integer> listPermissionId(Integer roleId);

    int delete(Integer roleId, List<Integer> permissionIds);
}
